package com.zzxy.springmvc12.controller;


import org.springframework.web.servlet.ModelAndView;-springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class UserController {
    @Override
    public ModelAndView handleRequest(HttpServeletRequest httpServeletRequest, HttpServeletResponse httpServeletResponse) throws Exception {
        // /webapp/WEB-INF/views/user/userList.jsp
        new ModelAndView(:"/user/userList");
        ModelAndView modelAndVies = null;
        modelAndVies.addObject(:"username", attributeValue:"张无忌");
        return modelAndView;
    }


}
